package com.xc.content.convert;

import com.xc.content.bo.TeachPlanBO;
import com.xc.content.dto.TeachPlanDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-07
 * @Version: 1.0
 */
@Mapper
public interface TeachPlanConverter {

    TeachPlanConverter INSTANCE = Mappers.getMapper(TeachPlanConverter.class);

    TeachPlanBO convertDTOToBO(TeachPlanDTO teachPlanDTO);
    List<TeachPlanBO> convertDTOListToBOList(List<TeachPlanDTO> teachPlanDTOList);
}
